package cn.daniel.video.constants;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

public class InitAliyunClient {

    public static DefaultAcsClient initVodClient(String accessKeyId,String accessKeySecret){
        String regionId="cn-shanghai";
        DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret);
        DefaultAcsClient client = new DefaultAcsClient(profile);
        return client;
    }

}
